package com.hushow.xxjob.demo.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * Created by baichun on 2021/8/30 16:00
 */
@Component
@ConfigurationProperties(prefix = "xxl.job")
@Data
public class XxlJobProperties {

	private String adminAddresses;

	private String accessToken;

	private String executorAppName;

	private String executorAddress;

	private String executorIp;

	private int executorPort;

	private String executorLogPath;

	private int executorLogRetentionDays;

}
